<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/cortop.jsp" %>
<jsp:directive.page import="com.lg.system.CTurnPage" />
<%@ include file="/jsp/jscommom.jsp"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>求职者信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<%
		CTurnPage mPage = new CTurnPage();
		mPage = (CTurnPage) request.getAttribute("page");
	%>
	<script type="text/javascript">
function viewuser(url){
window.open(url,"_blank");
}
</script>
	<body>
		<html:form action="/system/manage/corpormanage/infomanage/viewalluser" method="post">
			<table width="97%" border="0" align="center" cellpadding="0"
				cellspacing="1" class="line1">
				<tr>
					<td colspan="4" class="titlebg">
						求职者信息查询
					</td>
				</tr>
				<tr>
					<td class="mtdtitle1">
						专业
					</td>
					<td class="mtdtextleft">
						<html:text property="speciality" styleClass="input1"></html:text>
					</td>
					
					<td class="mtdtitle1">
						学历
					</td>
					<td class="mtdtextleft">
					<html:select property="education" styleClass="input1">
								<html:option value="">请选择</html:option>
								<html:option value="初中">初中</html:option>
								<html:option value="高中">高中</html:option>
								<html:option value="中技">中技</html:option>
								<html:option value="中专">中专</html:option>
								<html:option value="大专">大专</html:option>
								<html:option value="本科">本科</html:option>
								<html:option value="硕士">硕士</html:option>
								<html:option value="博士">博士</html:option>
							</html:select>
					</td>
				</tr>
				<tr>
					<td class="mtdtitle1">
						年龄
					</td>
					<td class="mtdtextleft">
						<html:text property="ageStart" styleClass="input1"></html:text>到
						<html:text property="ageEnd" styleClass="input1"></html:text>
					</td>
					
					<td class="mtdtitle1">
						学校
					</td>
					<td class="mtdtextleft">
						<html:text property="schoolName" styleClass="input1"></html:text>
					</td>
				</tr>
				<tr>
					<td class="mtdtitle1">
						籍贯
					</td>
					<td class="mtdtextleft">
						<html:text property="registeredAddress" styleClass="input1"></html:text>
					</td>
					
					<td class="mtdtitle1">
						性别
					</td>
					<td class="mtdtextleft">
						<html:select property="sex" styleClass="input1">
						<html:option value="">请选择</html:option>
						<html:option value="男">男</html:option>
						<html:option value="女">女</html:option>
						</html:select>
					</td>
				</tr>
				<tr>
					<td class="mtdtitle1" colspan="4">
						<input type="submit" value="查询" class="tbutton"/>
						<input type="reset" value="重置" class="tbutton"/>
					</td>
				</tr>
			</table>

			<table width="97%" border="0" align="center" cellpadding="0"
				cellspacing="0" class="line1">
				<tr>
					<td>
						<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="1" class="line1">
							<tr>
								<td class="mtdtitle1">
									姓名
								</td>
								<td class="mtdtitle1">
									年龄
								</td>

								<td class="mtdtitle1">
									专业
								</td>
								<td class="mtdtitle1">
									学历
								</td>
								<td class="mtdtitle1">
									学校
								</td>
								<td class="mtdtitle1">
									性别
								</td>
							</tr>
							<logic:empty name="page" property="sqlList">
								<tr>
									<td colspan="6" class="mtdtextcenterwrite">
										没有可显示的内容！
									</td>
								</tr>
							</logic:empty>
							<logic:notEmpty name="page" property="sqlList">
								<logic:iterate type="com.ibatis.po.user.TUserInfo"
									id="userList" name="page" property="sqlList">
									<tr style="cursor:hand"
										onclick="viewuser('/com/struts/web/user/jlmanage/viewuser.do?ID=${userList.id}')">
										<td class="mtdtextcenterwrite">
											${userList.name}
										</td>
										<td class="mtdtextcenterwrite"> 
											${userList.ageStart}
										</td>
										<td class="mtdtextcenterwrite"> 
											${userList.speciality}
										</td>
										<td class="mtdtextcenterwrite"> 
											${userList.education}
										</td>
										<td class="mtdtextcenterwrite"> 
											${userList.schoolName}
										</td>
										<td class="mtdtextcenterwrite">
											<logic:equal name="userList" property="sex" value="男">男</logic:equal>
											<logic:equal name="userList" property="sex" value="女">女</logic:equal>
										</td>
									</tr>
								</logic:iterate>
							</logic:notEmpty>

							<tr>
								<td colspan="6" class="mtdtitle1">
									<table width='100%'>
										<tr>
											<td class="left">
												<%=mPage.getPageInfo()%>
											</td>
											<td class="right">
												<%=mPage.getTurnPageLink()%>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</html:form>
	</body>
</html>
